package rec.a;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class aclass extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.a);
        
        Button button1 = (Button) findViewById(R.id.button1);
        Button button2 = (Button) findViewById(R.id.button2);
        Button button3 = (Button) findViewById(R.id.button3);
        Button button4 = (Button) findViewById(R.id.button4);
        
        button1.setOnClickListener(new OnClickListener(){ public void onClick(View v){Intent i = new Intent(); i.setClassName("rec.a", "rec.a.b1class"); startActivity(i);} } );
        button2.setOnClickListener(new OnClickListener(){ public void onClick(View v){Intent i = new Intent(); i.setClassName("rec.a", "rec.a.b2class"); startActivity(i);} } );
        button3.setOnClickListener(new OnClickListener(){ public void onClick(View v){Intent i = new Intent(); i.setClassName("rec.a", "rec.a.b3class"); startActivity(i);} } );
        button4.setOnClickListener(new OnClickListener(){ public void onClick(View v){Intent i = new Intent(); i.setClassName("rec.a", "rec.a.b4class"); startActivity(i);} } );
        
        
    }

}
